package com.yn.club.subject.application.controller;

import org.springframework.web.bind.annotation.*;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.validation.annotation.Validated;
import com.yn.club.common.util.R;

/**
 * 测试控制层
 *
 * @author YN
 * @since 2025-01-21 17:44:27
 */
@Slf4j
@RequiredArgsConstructor
@Validated
@RestController
@RequestMapping("test")
public class SubjectTestController {

    /**
     * 测试
     * @return string
     */
    @GetMapping("/test1")
    public R<String> test() {
        return R.ok("test1");
    }
}

